package com.tzl.service;

import com.tzl.dto.StuAndCjDto;
import com.tzl.entity.Students;
import com.baomidou.mybatisplus.extension.service.IService;
import utils.PageResult;
import utils.R;

import java.util.List;

public interface IStudentsService extends IService<Students> {
    PageResult<Students> getAll();
    PageResult<StuAndCjDto> selectByPage(Integer page, Integer pageSize);
    PageResult<StuAndCjDto> selectByCondition(Integer page, Integer pageSize, StuAndCjDto stuAndCjDto);
    boolean addStuAndCj(StuAndCjDto stuAndCjDto);
    int deleteStuAndCj(Long id);
    int deleteChecked(List<String> ids);
    boolean updateStuAndCj(String id, StuAndCjDto stuAndCjDto);
}
